package org.feiye.studyday14;

public class TestDog {

	public static void main(String[] args) {
		Dog dog1 = new Dog();
		dog1.name = "大黄";

		Dog dog2 = new Dog();
		dog2.name = "小白";

		dog1.bite(dog2);
		dog2.bite(dog1);
		System.out.println("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<");
		Dog dog3 = new Dog();
		dog3.name = "哮天犬";

		GoodPerson person = new GoodPerson();
		person.name = "吕洞宾";

		dog3.bite(person);
	}

}
